package question.T0215_1_Clipboard.command;

import question.T0215_1_Clipboard.Clipboard;

import java.util.function.Consumer;

public class PasteCommand extends Command {
    private final Integer copyId;
    private final Consumer<String> callback;

    public PasteCommand(Consumer<String> callback) {
        this.copyId = null;
        this.callback = callback;
    }

    public PasteCommand(Integer copyId, Consumer<String> callback) {
        this.copyId = copyId;
        this.callback = callback;
    }

    @Override
    public void execute() {
        // 在这里添加或者修改代码

        // 可修改部分结束
    }
}
